package com.jt.www.model.entity.endorse;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@Table(name = "t_endorse")
public class EndorseEntity {

    @Id
    private Long id;

    @ApiModelProperty(value = "投保单号")
    private String insuranceId;

    @ApiModelProperty(value = "批单申请号")
    private String applyId;

    @ApiModelProperty(value = "附件存储ID")
    private String fileId;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "学生/教师 姓名")
    private String name;

    @ApiModelProperty(value = "性别：1-男，2-女，0-未知")
    private Byte sex;

    @ApiModelProperty(value = "证件类型：1-身份证，2-护照，3-学生证，4-户口本，5-其他")
    private Byte certificatetype;

    @ApiModelProperty(value = "证件号码")
    private String cardno;

    @ApiModelProperty(value = "专业")
    private String professional;

    @ApiModelProperty(value = "1-学生，2-教师")
    private Byte studentteacher;

    @ApiModelProperty(value = "附加被保险人：1-是，2-否")
    private Byte additionalinsured;

    @ApiModelProperty(value = "附加实习无过失：1-是，2-否")
    private Byte additionalinternship;

    @ApiModelProperty(value = "附加校方无过失：1-是，2-否")
    private Byte additionalschool;

    @ApiModelProperty(value = "附加校外无过失：1-是，2-否")
    private Byte additionaloutschool;

    @ApiModelProperty(value = "附加传染病：1-是，2-否")
    private Byte infectiousdiseases;

    @ApiModelProperty(value = "年级：1-一年级，2-二年级，3-三年级，4-四年级，5-五年级，6-六年级，7-七年级")
    private Byte grade;

    @ApiModelProperty(value = "班级")
    private String clz;

    @ApiModelProperty(value = "学籍号")
    private String schoolroll;

    @ApiModelProperty(value = "状态：I-增加，D-删减，R-替换，O-被替换，U-修改")
    private Character status;

    @ApiModelProperty(value = "投保单年份")
    private String year;

    /*-----------------地区字段start-------------------*/

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "联系电话")
    private String phonenum;

    @ApiModelProperty(value = "监护人姓名")
    private String guardianname;

    @ApiModelProperty(value = "监护人电话")
    private String guardianphonenum;

    @ApiModelProperty(value = "出生日期")
    private String birthdate;

    @ApiModelProperty(value = "备注")
    private String note;

    /*-----------------地区字段end-------------------*/

    @ApiModelProperty(value = "是否删除:1-是；0-否")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建人编号")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人编号")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    public Long getId() {
        return this.id;

    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getInsuranceId() {
        return this.insuranceId;

    }

    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }

    public String getApplyId() {
        return this.applyId;

    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getFileId() {
        return this.fileId;

    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getSchoolName() {
        return this.schoolName;

    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getName() {
        return this.name;

    }

    public void setName(String name) {
        this.name = name;
    }

    public Byte getSex() {
        return this.sex;

    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Byte getCertificatetype() {
        return this.certificatetype;

    }

    public void setCertificatetype(Byte certificatetype) {
        this.certificatetype = certificatetype;
    }

    public String getCardno() {
        return this.cardno;

    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getProfessional() {
        return this.professional;

    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public Byte getStudentteacher() {
        return this.studentteacher;

    }

    public void setStudentteacher(Byte studentteacher) {
        this.studentteacher = studentteacher;
    }

    public Byte getAdditionalinsured() {
        return this.additionalinsured;

    }

    public void setAdditionalinsured(Byte additionalinsured) {
        this.additionalinsured = additionalinsured;
    }

    public Byte getAdditionalinternship() {
        return this.additionalinternship;

    }

    public void setAdditionalinternship(Byte additionalinternship) {
        this.additionalinternship = additionalinternship;
    }

    public Byte getAdditionalschool() {
        return this.additionalschool;

    }

    public void setAdditionalschool(Byte additionalschool) {
        this.additionalschool = additionalschool;
    }

    public Byte getAdditionaloutschool() {
        return this.additionaloutschool;

    }

    public void setAdditionaloutschool(Byte additionaloutschool) {
        this.additionaloutschool = additionaloutschool;
    }

    public Byte getInfectiousdiseases() {
        return this.infectiousdiseases;

    }

    public void setInfectiousdiseases(Byte infectiousdiseases) {
        this.infectiousdiseases = infectiousdiseases;
    }

    public Byte getGrade() {
        return this.grade;

    }

    public void setGrade(Byte grade) {
        this.grade = grade;
    }

    public String getClz() {
        return this.clz;

    }

    public void setClz(String clz) {
        this.clz = clz;
    }

    public String getSchoolroll() {
        return this.schoolroll;

    }

    public void setSchoolroll(String schoolroll) {
        this.schoolroll = schoolroll;
    }

    public Character getStatus() {
        return this.status;

    }

    public void setStatus(Character status) {
        this.status = status;
    }

    public String getYear() {
        return this.year;

    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getAge() {
        return this.age;

    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhonenum() {
        return this.phonenum;

    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getGuardianname() {
        return this.guardianname;

    }

    public void setGuardianname(String guardianname) {
        this.guardianname = guardianname;
    }

    public String getGuardianphonenum() {
        return this.guardianphonenum;

    }

    public void setGuardianphonenum(String guardianphonenum) {
        this.guardianphonenum = guardianphonenum;
    }

    public String getBirthdate() {
        return this.birthdate;

    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate;
    }

    public String getNote() {
        return this.note;

    }

    public void setNote(String note) {
        this.note = note;
    }

    public Boolean getIsDeleted() {
        return this.isDeleted;

    }

    public void setIsDeleted(Boolean deleted) {
        this.isDeleted = deleted;
    }

    public String getCreateBy() {
        return this.createBy;

    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return this.createTime;

    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return this.updateBy;

    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;

    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}